package com.hyzh.hj212.dmo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * 
 *
 * @author Songkui
 * @since 2024-06-14
 */
@Data
@EqualsAndHashCode(of ={"id"})
@TableName("zhj_field_info")
public class FieldInfoEntity {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;

    @TableField("code")
    private String code;

    @TableField("name")
    private String name;

    @TableField("unit")
    private String unit;

}
